package com.cskaoyan.service;

import com.cskaoyan.bean.data.BaseData;
import com.cskaoyan.bean.data.WxBaseData;
import com.cskaoyan.bean.param.TopicParam;
import com.cskaoyan.bean.param.WxBaseParam;
import com.cskaoyan.bean.pojo.MallTopic;
import com.cskaoyan.bean.wxvo.WxTopicDetailVO;
import com.cskaoyan.bean.wxvo.WxTopicListVO;

import java.util.List;

public interface TopicService {
    BaseData<MallTopic> queryList(TopicParam param);

    int updateTopic(MallTopic mallTopic);

    int deleteTopic(MallTopic mallTopic);

    MallTopic createTopic(MallTopic mallTopic);

    WxBaseData<WxTopicListVO> queryTopicList(WxBaseParam wxBaseParam);

    WxTopicDetailVO queryTopicDetail(Integer id);

    List<MallTopic> queryTopicRelated();
}
